<div class='documentListHeader' style='width: 835px; text-align: center; margin-top: 10px; margin-bottom: 5px;'>
	<span style='text-transform: uppercase;'>{translate p1=$username}Dialogue with %s{/translate}</span>
</div>
{foreach from=$conversation item=message}
<div class="form_container" style="width: 750px; margin-bottom: 5px;">
	<div class="{if $message.sender == $myUserId}myMsg{else}otherMsg{/if}">
		<table style='margin-bottom: 5px; width: 100%'>
			<tr>
				<td style='width: 20%;'><span style='font-size: 13px'>{$message.username}</span></td>
				<td style='width: 80%; text-align: right'><span>{$message.date}</span></td>
			</tr>
		</table>
		<div style='margin-bottom: 5px'>
			<span style='padding-left: 20px'>{$message.message}</span>
		</div>
	</div>
</div> 
{/foreach}
